package com.airS.task.fileMgr.model.gk;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by alan on 2017/3/15.
 */
public class PermissionTree implements Serializable {

    private Integer permissionId;

    private Integer parentId;

    private String parentIds;

    private String name;

    private String code;

    private String permission;

    private String url;

    private String target;

    private String icon;

    private Integer permissionIndex;

    private String isFunction;

    private String createPeople;

    private Date createTime;

    private String updatePeople;

    private Date updateTime;

    private List<PermissionTree> childPermissionTrees;

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds == null ? null : parentIds.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target == null ? null : target.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public Integer getPermissionIndex() {
        return permissionIndex;
    }

    public void setPermissionIndex(Integer permissionIndex) {
        this.permissionIndex = permissionIndex;
    }

    public String getIsFunction() {
        return isFunction;
    }

    public void setIsFunction(String isFunction) {
        this.isFunction = isFunction == null ? null : isFunction.trim();
    }

    public String getCreatePeople() {
        return createPeople;
    }

    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople == null ? null : createPeople.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdatePeople() {
        return updatePeople;
    }

    public void setUpdatePeople(String updatePeople) {
        this.updatePeople = updatePeople == null ? null : updatePeople.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<PermissionTree> getChildPermissionTrees() {
        return childPermissionTrees;
    }

    public void setChildPermissionTrees(List<PermissionTree> childPermissionTrees) {
        this.childPermissionTrees = childPermissionTrees;
    }
}
